[INFO] cloning repository https://github.com/Melkam-EZ/rust-rest-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Melkam-EZ/rust-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelkam-EZ%2Frust-rest-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelkam-EZ%2Frust-rest-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7181dd1dbe33fb4974adb4b16bce875858399882
[INFO] fixing Melkam-EZ/rust-rest-api against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelkam-EZ%2Frust-rest-api" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Melkam-EZ/rust-rest-api
[INFO] finished tweaking git repo https://github.com/Melkam-EZ/rust-rest-api
[INFO] tweaked toml for git repo https://github.com/Melkam-EZ/rust-rest-api written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Melkam-EZ/rust-rest-api on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Melkam-EZ/rust-rest-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_core v1.0.227
[INFO] [stderr]   Downloaded serde_derive v1.0.227
[INFO] [stderr]   Downloaded rustc_version_runtime v0.3.0
[INFO] [stderr]   Downloaded mongodb-internal-macros v3.3.0
[INFO] [stderr]   Downloaded mongocrypt-sys v0.1.4+1.12.0
[INFO] [stderr]   Downloaded mongocrypt v0.3.1
[INFO] [stderr]   Downloaded serde v1.0.227
[INFO] [stderr]   Downloaded serde_with_macros v3.14.1
[INFO] [stderr]   Downloaded schemars v1.0.4
[INFO] [stderr]   Downloaded hickory-resolver v0.24.4
[INFO] [stderr]   Downloaded bson v2.15.0
[INFO] [stderr]   Downloaded serde_with v3.14.1
[INFO] [stderr]   Downloaded rustls v0.23.32
[INFO] [stderr]   Downloaded hickory-proto v0.24.4
[INFO] [stderr]   Downloaded mongodb v3.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6ee2790979380c5760e4850ce5499f2464856b9dbbf3f1a82fdbbcf1cc4dc97b
[INFO] running `Command { std: "docker" "start" "6ee2790979380c5760e4850ce5499f2464856b9dbbf3f1a82fdbbcf1cc4dc97b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ee2790979380c5760e4850ce5499f2464856b9dbbf3f1a82fdbbcf1cc4dc97b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ee2790979380c5760e4850ce5499f2464856b9dbbf3f1a82fdbbcf1cc4dc97b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ee2790979380c5760e4850ce5499f2464856b9dbbf3f1a82fdbbcf1cc4dc97b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling serde_core v1.0.227
[INFO] [stderr]    Compiling serde v1.0.227
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking deranged v0.5.4
[INFO] [stderr]    Compiling cc v1.2.39
[INFO] [stderr]    Compiling mongocrypt-sys v0.1.4+1.12.0
[INFO] [stderr]    Compiling rustls v0.23.32
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]     Checking semver v1.0.27
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking indexmap v2.11.4
[INFO] [stderr]     Checking resolv-conf v0.7.5
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking rustc_version v0.4.1
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking nu-ansi-term v0.50.1
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]     Checking rustls-webpki v0.103.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.227
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling typed-builder-macro v0.20.1
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling derive-where v1.6.0
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking typed-builder v0.20.1
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling mongodb-internal-macros v3.3.0
[INFO] [stderr]     Checking thiserror v2.0.16
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.14.1
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v3.14.1
[INFO] [stderr]     Checking bson v2.15.0
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stderr]     Checking mongocrypt v0.3.1
[INFO] [stderr]     Checking hickory-resolver v0.24.4
[INFO] [stderr]     Checking mongodb v3.3.0
[INFO] [stderr]     Checking rust-rest-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::config`
[INFO] [stdout]  --> src/app.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{config::AppConfig, database::initialize_dbs};
[INFO] [stdout]   |             ^^^^^^ could not find `config` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `dotenv`
[INFO] [stdout]  --> src/configs/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use dotenv::dotenv;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dotenv`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dotenv`, use `cargo add dotenv` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/handlers/auth_handler.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |   Json(json!({
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_json::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/handlers/user_handler.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::config`
[INFO] [stdout]  --> src/app.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{config::AppConfig, database::initialize_dbs};
[INFO] [stdout]   |             ^^^^^^ could not find `config` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `dotenv`
[INFO] [stdout]  --> src/configs/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use dotenv::dotenv;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `dotenv`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dotenv`, use `cargo add dotenv` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/handlers/auth_handler.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |   Json(json!({
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_json::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/handlers/user_handler.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:12:2
[INFO] [stdout]    |
[INFO] [stdout] 12 |     State(state): State<AppState>,
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Json(payload): Json<LoginRequest>,) -> impl IntoResponse {
[INFO] [stdout]    |   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     State(state): State<AppState>,
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     State(state): State<AppState>,
[INFO] [stdout]    |                         ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::app::AppState;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Json(payload): Json<LoginRequest>,) -> impl IntoResponse {
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |   Json(json!({
[INFO] [stdout]    |   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 |      State(state): State<AppState>,
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   Json(payload): Json<LoginRequest>,
[INFO] [stdout]    |   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |      State(state): State<AppState>,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |      State(state): State<AppState>,
[INFO] [stdout]    |                          ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::app::AppState;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |   Json(payload): Json<LoginRequest>,
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `database::initialize_dbs`
[INFO] [stdout]  --> src/app.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{config::AppConfig, database::initialize_dbs};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handlers`
[INFO] [stdout]  --> src/app.rs:9:34
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{database::Databases, handlers};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:12:2
[INFO] [stdout]    |
[INFO] [stdout] 12 |     State(state): State<AppState>,
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Json(payload): Json<LoginRequest>,) -> impl IntoResponse {
[INFO] [stdout]    |   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     State(state): State<AppState>,
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     State(state): State<AppState>,
[INFO] [stdout]    |                         ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::app::AppState;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Json(payload): Json<LoginRequest>,) -> impl IntoResponse {
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |   Json(json!({
[INFO] [stdout]    |   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 |      State(state): State<AppState>,
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   Json(payload): Json<LoginRequest>,
[INFO] [stdout]    |   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |      State(state): State<AppState>,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |      State(state): State<AppState>,
[INFO] [stdout]    |                          ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::app::AppState;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]   --> src/handlers/auth_handler.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |   Json(payload): Json<LoginRequest>,
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use axum::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `database::initialize_dbs`
[INFO] [stdout]  --> src/app.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{config::AppConfig, database::initialize_dbs};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handlers`
[INFO] [stdout]  --> src/app.rs:9:34
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{database::Databases, handlers};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Databases: Clone` is not satisfied
[INFO] [stdout]   --> src/app.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Clone)]
[INFO] [stdout]    |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 15 |   pub databases: Databases,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Databases`
[INFO] [stdout]    |
[INFO] [stdout] help: consider annotating `Databases` with `#[derive(Clone)]`
[INFO] [stdout]   --> src/database/mod.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #[derive(Clone)]
[INFO] [stdout]  4 | pub struct Databases {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Databases: Clone` is not satisfied
[INFO] [stdout]   --> src/app.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Clone)]
[INFO] [stdout]    |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 15 |   pub databases: Databases,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Databases`
[INFO] [stdout]    |
[INFO] [stdout] help: consider annotating `Databases` with `#[derive(Clone)]`
[INFO] [stdout]   --> src/database/mod.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #[derive(Clone)]
[INFO] [stdout]  4 | pub struct Databases {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0531.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0531.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-rest-api` (bin "rust-rest-api" test) due to 17 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-rest-api` (bin "rust-rest-api") due to 17 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6ee2790979380c5760e4850ce5499f2464856b9dbbf3f1a82fdbbcf1cc4dc97b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ee2790979380c5760e4850ce5499f2464856b9dbbf3f1a82fdbbcf1cc4dc97b", kill_on_drop: false }`
[INFO] [stdout] 6ee2790979380c5760e4850ce5499f2464856b9dbbf3f1a82fdbbcf1cc4dc97b
